php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#218189 - 06/13/02 04:53 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
I have the MarkAllRead hack installed that only works on an entire board basis. I haven't installed the second revision that will mark each forum as read individually. I'll take a look though and see If I can spot where they can be reconciled.

Top
#218190 - 06/13/02 05:03 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
<blockquote><font class="small">Writes stanmo:</font><hr>Could you please tell me how you added those lines to ubbt.inc.php when you have MarkUpHack installed? Thanks! <hr /></blockquote>Okay, maybe I'm missing something here, but I don't see where ubbt.inc.php is modified as part of the MarkAllRead hack. Either with v6.0 or v6.1. I'm not sure if I'm missing something here or not, but the lines that I instruct you to replace are there in the clean version of UBB.threads and I don't see anywhere in either v6.0 or v6.1 of the MarkAllRead hack that you're instructed to remove them or modify them.<br /><br />Can you explain a little bit about the steps you've taken so far?

Top
#218191 - 06/13/02 05:40 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
stanmo Offline
Junior Member

Registered: 02/27/02
Posts: 23
Oh, actually Lisa and I are talking about MarkUpHack not MarkAllRead! hehehe..

Top
#218192 - 06/13/02 05:54 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Okay, that makes better sense. LOL, I really need to stop copying JustDave and quit staying up until 3:00 AM. It's starting to affect my brain. <img src="/forum/images/icons/laugh.gif" alt="" /><br /><br />Okay, what I would do is look for the following line :<br /><br /><pre><font class="small">code:</font><hr> function do_markup($Body="") {</pre><hr><br />Add the lines from Part Seven - Step 2b after that. <br /><br />Then, look for this line :<br /><br /><pre><font class="small">code:</font><hr> function undo_markup($Body="") {</pre><hr><br />Add the lines from Part Seven - Step 3b after that.

Top
#218193 - 06/13/02 07:21 PM Re: [6.0] AutoQuote v2.0 [Re: JacquiL]
stanmo Offline
Junior Member

Registered: 02/27/02
Posts: 23
Can you please tell me how should I fix this? <br /> <br />Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/e46toronto/forum/newreply.php on line 253 <br /> <br />The first line is my 250... <br /> <br /> <pre><font class="small">code:</font><hr> // ------------------------------------ <br />// No options, we use the board default <br /> else { <br /> if ( ($HTML == "Off") && ($Markup == "On") ) { <br /> $markupselect = "<input type=\"hidden\" name=\"convert\" value=\"markup\" />"; <br /> } <br /> elseif ( ($HTML == "On") && ($Markup == "On") ) { <br /> $markupselect ="<input type=\"hidden\" name=\"convert\" value=\"both\" />"; <br /> } <br /> elseif ( ($HTML == "Off") && ($Markup == "Off") ) { <br /> $markupselect ="<input type=\"hidden\" name=\"convert\" value=\"none\" />"; <br /> } <br /> else { <br /> $markupselect = "<input type=\"hidden\" name=\"convert\" value=\"html\" />"; <br /> } <br /> } <br /> <br /> if ($quote) { <br /> $Body2 = ereg_replace(""","\"",$Body); <br /> $Body2 = ereg_replace("<br />","\n",$Body2); <br /> $Body2 = $html -> undo_markup($Body2); <br /> $quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]"; <br /> } <br /> <br /> if ($postername != $ubbt_lang['ANON_TEXT']) { <br /> $emailselect = " <br /> <input type=\"checkbox\" name=\"mail\" value=\"1\" $Eselected class=\"formboxes\" /> <br /> {$ubbt_lang['DO_EMAIL']} <br /> <br /><br /> <br /> </pre><hr> <br /> <br />Thank you again!!!


Edited by stanmo (06/13/02 07:26 PM)

Top
#218194 - 06/17/02 09:50 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
<blockquote><font class="small">posted by WrĊith:</font><hr /> Okay, that makes better sense. LOL, I really need to stop copying JustDave and quit staying up until 3:00 AM. It's starting to affect my brain. <img src="/forum/images/icons/laugh.gif" alt="" /><br /><br /><hr /></blockquote><br /><br />yes, that will do it <img src="/forum/images/icons/crazy.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218195 - 06/18/02 04:57 PM Re: [6.0] AutoQuote v2.0 [Re: SurfMinister]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
I am now having the same problem stano is having. After going to 6.0.1 and re-applying the hack its broken. Getting a parse error for this:<br /><br />$quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]";

Top
#218196 - 06/18/02 05:19 PM Re: [6.0] AutoQuote v2.0 [Re: palmen]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Weird. I upgraded to 6.0.1 without any problems. There isn't anything in that line that would be causing a parse error that I can see. I'll look into it some more and see if I can come up with anything.

Top
#218197 - 06/19/02 04:00 AM Re: [6.0] AutoQuote v2.0 [Re: palmen]
Goshik Offline
User

Registered: 03/28/01
Posts: 44
<blockquote><font class="small">posted by msula:</font><hr /> <br /><br />$quote = "[{$ubbt_lang['TEXT_QUOTE']}=$ResUsername]$Body2[/{$ubbt_lang['TEXT_QUOTE']}]"; <hr /></blockquote><br /><br />Try to put a blank before and after $Body2

Top
#218198 - 06/19/02 02:03 PM Re: [6.0] AutoQuote v2.0 [Re: xBlacky33]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Ack, you're right. I didn't even notice that. I ran into the same problem when I first did it and I forgot to update the instructions. I'll fix them when I get home to include the spaces around $Body2

Top
#218199 - 06/19/02 02:09 PM Re: [6.0] AutoQuote v2.0 [Re: firdaus]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Just thought I'd make a note that the conflicting lines have been sorted out in the new version of my MarkupHack. The markup won't be exactly the same, but it should be adequate I think.<br /><br />The new hack can be found in this thread.
_________________________
/Gardener | Complete list of my mods

Top
#218200 - 06/20/02 09:08 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
Instructions have been updated to reflect correct spacing. They can be downloaded at the link in the first post.

Top
#218201 - 06/22/02 11:29 PM Re: [6.0] AutoQuote v2.0 [Re: SDS]
WrĊith Offline
Enthusiast

Registered: 01/31/02
Posts: 310
Loc: California, USA
This mod has been moved to the finished forum at this location. Please close this thread.

Top
Page 2 of 2 < 1 2



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks